package com.hrpc.config;

public class ObjectWrapper<T> {
    private Byte code;
    private String name;
    private T impl;

    public ObjectWrapper() {
    }

    public Byte getCode() {
        return code;
    }

    public void setCode(Byte code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public T getImpl() {
        return impl;
    }

    public void setImpl(T impl) {
        this.impl = impl;
    }

    public ObjectWrapper(Byte code, String name, T impl) {
        this.code = code;
        this.name = name;
        this.impl = impl;
    }
}
